//package com.demo.statemachine.d01;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.InitializingBean;
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.ApplicationContextAware;
//import org.springframework.stereotype.Component;
//
///**
// * InitializingBean : bean初始化时调用 afterPropertiesSet()方法 给 bean的属性赋值;
// * ApplicationContextAware : 获取 applicationContext 容器
// */
//@Component
//public class DefaultStateMachineManager implements InitializingBean, ApplicationContextAware {
//    private ApplicationContext applicationContext;
//    @Override
//    public void afterPropertiesSet() throws Exception {
//
//    }
//
//    @Override
//    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
//        this.applicationContext = applicationContext;
//    }
//}
